﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;


public class User : IEquatable<User>
{
    public String name { get; set; }
    public String email { get; set; }

	public User(String name, String email)
	{
        this.name = name;
        this.email = email;
	}

    public bool Equals(User other)
    {
        if (this.email == other.email)
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}
